Component({
  data: {

  },
  properties: {
    title: {
      type: String,
      value: ""
    },
    subTitle: {
      type: String,
      value: ""
    },
    titleColor: {
      type: String,
      value: "#454545"
    },
    value: {
      type: String,
      value: ""
    },
    valueColor: {
      type: String,
      value: "#FF6864"
    },
    link: {
      type: Boolean,
      value: true
    },
    icon: {
      type: String,
      value: ""
    },
    line: {
      type: Boolean,
      value: true
    },
    lineWidth: {
      type: null,
      value: '100%'
    },
    autoLine: {
      type: Boolean,
      value: true
    },
    data: {
      type: null
    }
  },
  methods: {
    onclick(e) {
      this.triggerEvent('click', this.data.data);
    }
  }
})